﻿<Window x:Class="SampleDdeCustomTable.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Пример экспорта произвольных таблиц с Quik" Height="90" Width="400">
    <Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="100" />
			<ColumnDefinition Width="100" />
			<ColumnDefinition Width="150" />
			<ColumnDefinition Width="100" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<Label Grid.Column="0" Grid.Row="0" Content="Путь к Quik:" />
		<TextBox x:Name="Path" Text="" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="0" />
		<Button x:Name="FindPath" Grid.Column="4" Grid.Row="0" Content="..." Width="25" HorizontalAlignment="Left" Click="FindPath_Click" />
		
		<Button x:Name="ConnectBtn" Background="LightPink" Grid.Column="0" Grid.Row="1" Content="Подключиться" Click="Connect_Click" />
		<Button x:Name="ExportDde" Background="LightPink" Grid.Column="1" Grid.Row="1" IsEnabled="False" Content="Экспорт DDE" Click="ExportDde_Click" />
		<Button x:Name="ShowCandles" Grid.Column="2" Grid.Row="1" IsEnabled="False" Width="100" HorizontalAlignment="Left" Content="Свечки..." Click="ShowCandles_Click" />
	</Grid>
</Window>
